package cn.akwangl.user;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * 用户服务提供者.
 *
 * @author youyongkun
 * @date 2021/10/26 15:02
 */
@Component
@Service(interfaceClass = IUserService.class, timeout = 100000)
public class UserServiceImpl implements IUserService {
    @Override
    public String hello() {
        return Thread.currentThread().getName();
    }

    @Override
    public String hello(String name) {
        return name;
    }

    @Override
    public String x() {
        return null;
    }
}
